package com.example.flower_shop.service.usr;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.flower_shop.vo.usr.CodeReq;
import com.example.flower_shop.entity.UserEntity;
import com.example.flower_shop.vo.auth.AuthRespVO;
import com.example.flower_shop.vo.user.*;
import jakarta.validation.Valid;

/**
 * @author FuerHeart
 * @description 针对表【sys_user】的数据库操作Service
 * @createDate 2024-11-06 17:24:03
 */
public interface UserService extends IService<UserEntity> {

    AuthRespVO login(UserLogReqVO reqVO);

    void register(UserRegReqVO reqVO);

    void updateUserInfo(UserReqVO reqVO);

    UserRespVO getCurrentUserInfo();

    void forgetPwd(ForgetPwdReq req);

    void resetPwd(ResetPwdReq req);

    void getCode(@Valid CodeReq req);
}
